From: Richard M. Stallman Date: Tue, 12 Apr 1994 03:54:36 +0000 (+0000) Subject: (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~92242 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=cd9e76eae2ca88c416ab3af97651e938d4c6f54a;p=emacs.git (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__. --- diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h index a0cba915cc9..6625785d859 100644 --- a/src/s/sunos4-0.h +++ b/src/s/sunos4-0.h @@ -5,7 +5,11 @@ #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ #endif +#ifdef __GNUC__ +#define LD_SWITCH_SYSTEM -e __start -static +#else #define LD_SWITCH_SYSTEM -e __start -Bstatic +#endif /* In SunOS 4.1, a static function called by tzsetwall reportedly clears the byte just past an eight byte region it mallocs, corrupting